package org.edu.modules.skill.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.aspect.annotation.Dict;
import org.edu.modules.kwgl.config.ConfigConstant;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 职业考试成绩
 * @Author: jeecg-boot
 * @Date:   2021-04-16
 * @Version: V1.0
 */
@Data
@TableName("ve_jw_cj_zhiye")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="职业考试成绩对象", description="职业考试成绩")
public class VeJwCjZhiye implements Serializable {
    private static final long serialVersionUID = 1L;

	/**自增长主键ID*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "自增长主键ID")
    private Integer id;
	/**职业认证考试ID*/
	@Excel(name = "职业认证考试ID", width = 15)
    @ApiModelProperty(value = "职业认证考试ID")
    @Dict(dictTable = ConfigConstant.dbName +"ve_jw_ks_zhiye",dicCode = "id",dicText = "name")
    private Integer zyksid;
	/**院系ID*/
	@Excel(name = "院系ID", width = 15)
    @ApiModelProperty(value = "院系ID")
    private Integer falid;
	/**专业ID*/
	@Excel(name = "专业ID", width = 15)
    @ApiModelProperty(value = "专业ID")
    private Integer specid;
	/**学制ID*/
	@Excel(name = "学制ID", width = 15)
    @ApiModelProperty(value = "学制ID")
    private Integer xzid;
	/**年级ID*/
	@Excel(name = "年级ID", width = 15)
    @ApiModelProperty(value = "年级ID")
    private Integer gradeid;
	/**行政班ID*/
	@Excel(name = "行政班ID", width = 15)
    @ApiModelProperty(value = "行政班ID")
    private Integer xzbid;
	/**学生ID*/
	@Excel(name = "学生ID", width = 15)
    @ApiModelProperty(value = "学生ID")
    private Integer stuid;
	/**学生用户ID*/
	@Excel(name = "学生用户ID", width = 15)
    @ApiModelProperty(value = "学生用户ID")
    private Integer userid;
	/**学号*/
	@Excel(name = "学号", width = 15)
    @ApiModelProperty(value = "学号")
    private String xh;
	/**学生姓名*/
	@Excel(name = "学生姓名", width = 15)
    @ApiModelProperty(value = "学生姓名")
    private String xm;
	/**准考证号*/
	@Excel(name = "准考证号", width = 15)
    @ApiModelProperty(value = "准考证号")
    private String zkzh;
	/**证书号*/
	@Excel(name = "证书号", width = 15)
    @ApiModelProperty(value = "证书号")
    private String zsh;
	/**理论成绩*/
	@Excel(name = "理论成绩", width = 15)
    @ApiModelProperty(value = "理论成绩")
    private BigDecimal llcj;
	/**实操成绩*/
	@Excel(name = "实操成绩", width = 15)
    @ApiModelProperty(value = "实操成绩")
    private BigDecimal sccj;
	/**考试成绩*/
	@Excel(name = "考试成绩", width = 15)
    @ApiModelProperty(value = "考试成绩")
    private BigDecimal kscj;
	/**是否及格（0=不及格，1=及格）*/
	@Excel(name = "是否及格（0=不及格，1=及格）", width = 15)
    @ApiModelProperty(value = "是否及格（0=不及格，1=及格）")
    @Dict(dicCode = "zhiyescore")
    private Integer ispass;
	/**成绩录入人ID*/
	@Excel(name = "成绩录入人ID", width = 15)
    @ApiModelProperty(value = "成绩录入人ID")
    private Integer createuserid;
	/**成绩录入日期时间（原日期时间合并）*/
	@Excel(name = "成绩录入日期时间（原日期时间合并）", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "成绩录入日期时间（原日期时间合并）")
    private Date cjlrrqsj;
	/**状态（0=初始，1=已录入，2=已提交）*/
	@Excel(name = "状态（0=初始，1=已录入，2=已提交）", width = 15)
    @ApiModelProperty(value = "状态（0=初始，1=已录入，2=已提交）")
    private Integer status;
	/**终端ID*/
	@Excel(name = "终端ID", width = 15)
    @ApiModelProperty(value = "终端ID")
    private Integer terminalid;
    /**照片*/
    @Excel(name = "照片", width = 15)
    @ApiModelProperty(value = "照片")
    private String photo;
}
